# -*- coding: utf-8 -*-..,
##############################################################################
#
#    OpenERP, Open Source Management Solution
#    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Affero General Public License as
#    published by the Free Software Foundation, either version 3 of the
#    License, or (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Affero General Public License for more details.
#
#    You should have received a copy of the GNU Affero General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from openerp.osv import fields, osv
from openerp.tools.translate import _


# 
class cea8s_glassfix_product(osv.osv):
    _inherit = "product.product"
    _description = 'cea8s_glassfix_product asdasdasd.....sad.'
    _columns = {
        'fast_name': fields.char('Fast Name', size=256),
        'fast_part': fields.boolean('Part', help="Check this box if this contact is a Part."),
        'fast_service': fields.boolean('Service', help="Check this box if this contact is a Service."),
      
#     _defaults = {
# action xml default_
# field_view_get


# 'state': fields.selection([('draft','Draft'),
# ('confirmed','Confirmed')],'State',required=True,readonly=True)
    }
#     strFormatTime = '%Y-%m-%d %H:%M:%S %Z'
    def act_helloword(self, cr, uid, ids, context={}):
       return self.write(cr, uid, ids, {'name': 'Hello word (by cea8s_glassfix_product)'})
 

cea8s_glassfix_product()



